package com.labot.webapp.dwr;

import java.util.Map;




/**
 * DWR! AJAX!
 *
 * @author Ing. Enrique Barbeito
 * 
 */
public interface DwrService  {
    
	public String test();
	
	/**
	 * Excecuted from User OnLine List, and used when an admin wants to kick an user
	 * @return
	 */
	public String invalidateUserSession(String userName);
	
	/**
	 * Get Message from admin
	 * @return
	 */
	public Map<String, Object> getMessageFromAdmin();
	
	/**
	 * Set Message from admin
	 * @return
	 */
	public void writeMessageFromAdmin(String message, Boolean login);
	
	public String nameUserSession(String userName);

	
}
